window.onload = function () {
    /**
     * 点击取消返回user-returnbooks
     * 取消按钮       removal
     */
    $('.removal').click(function () {
        window.location.href = "./user-returnbooks.html";
    })

    /**
     * 弹出框的隐藏与显示
     * 添加按钮   update
     * 添加成功弹框   success-tip 、failure-tip
     */
    $('.update').click(function () {
        setTimeout(function () {
            $('.success-tip').show();
        }, 800);
        setTimeout(function () {
            $('.success-tip').hide();
        }, 1800);


    })
}